﻿
body
{
    margin: 0;
    color: #696969;
    font-size: 75%;
    font-family: Verdana, Tahoma, Arial, "Helvetica Neue" , Helvetica, Sans-Serif, SimSun;
    background-color: #024978;
    background-image: url(images/bg.png);
    background-repeat: repeat-x;
}

a:link
{
    color: #4D7CC1;
    text-decoration: none;
}
a:visited
{
    color: #4D7CC1;
    text-decoration: none;
}
a:hover
{
    color: #edba98;
    text-decoration: underline;
}
a:active
{
    color: #4D7CC1;
    text-decoration: none;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */

.page
{
    width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
}

#main
{
    background-color: White;
    padding-top: 2px;
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}

#footer
{
    background-color: #e0eff6;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: left;
}

ul#menu li
{
    display: inline;
    list-style: none;
}

ul#menu li#greeting
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    border: 1px solid skyblue;
}

ul#menu li a:hover
{
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active
{
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a
{
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 1.2em;
    font-weight: bold;
}

textarea
{
    min-height: 75px;
}

/*
input[type="text"]
{
    width: 100px;
    border: 1px solid #CCC;
}

input[type="password"]
{
    width: 100px;
    border: 1px solid #CCC;
}
*/

/* TABLE
----------------------------------------------------------*/

table
{
    border-collapse: collapse;
}

table td
{
    padding: 5px;
}

table th
{
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color: Red;
}

#menucontainer
{
    margin-top: 15px;
}
#hotcontainer
{
    background: url(images/searchBg.gif) repeat-x 0% 0%;
    border: 1px solid #5CB4E6;
    height: 36px;
}
div#title
{
    text-align: left;
}

div#logo
{
    float: left;
    margin-top: 20px;
    margin-right: 10px;
}
div#logo a
{
    background-image: url(images/logo.gif);
    width: 180px;
    height: 60px;
    float: left;
}

#logindisplay
{
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label
{
    margin: 1em 0 0 0;
}

.display-field, .editor-field
{
    margin: 0.5em 0 0 0;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}


.pay
{
    margin-top: 10px;
    margin-left: 10px;
    text-align: right;
    float: right;
}
.wildpay a
{
    margin: 3px;
}


div.mark
{
    float: none;
}



div.hot
{
    float: left;
    width: 760px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    color: white;
}
div.hot a
{
    color: white;
}
div.search
{
    float: right;
    padding-top: 5px;
    padding-right: 10px;
}

/*以下是PayPal等支付方式的Logo*/
div#paypal, #mastercard, #moneybookers, #visa
{
    float: right;
    margin-top: 20px;
}
div#paypal a
{
    width: 120px;
    height: 60px;
    background-image: url(images/paypal.gif);
    float: left;
}
div#mastercard a
{
    width: 120px;
    height: 60px;
    background-image: url(images/mastercard.gif);
    float: left;
}
div#moneybookers a
{
    width: 120px;
    height: 60px;
    background-image: url(images/moneybookers.gif);
    float: left;
}
div#visa a
{
    width: 120px;
    height: 60px;
    background-image: url(images/visa.gif);
    float: left;
}

.blank
{
    clear: both;
    height: 5px;
    line-height: 5px;
    visibility: hidden;
}

.sidebar
{
    width: 200px;
    float: left;
    text-align: left;
}
.content
{
    width: 800px;
    _width: 800px;
    float: left;
    text-align: left;
    margin-left: 20px;
    margin-right: 20px;
}
.copyright
{
    clear: both;
    margin: 5px;
}
.activity-new-year
{
    margin-top: 5px;
}
.activity-new-year a
{
    width: 800px;
    height: 150px;
    background-image: url(images/activity.jpg);
    float: left;
}

/* Category   
----------------------------------------------------------*/
ul#menu2
{
    padding: 0 0 2px;
    position: relative;
    margin: 0px;
    margin-top: 10px;
    text-align: left;
}

ul#menu2 li
{
    display: inline;
    list-style: none;
}

ul#menu2 li.greeting a
{
    background-color: #fff;
    border-bottom: none;
}

ul#menu2 li a
{
    padding: 5px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.0em;
    background-color: #e8eef4;
    border: 1px solid skyblue;
}

ul#menu2 li a:hover
{
    background-color: #fff;
    text-decoration: none;
}

ul#menu2 li a:active
{
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu2 li.selected a
{
    background-color: #fff;
    color: #000;
}

.category-content
{
    border: 1px solid skyblue;
    padding: 0px;
    padding-left: 25px;
}
.category-content ul
{
    margin: 0px;
    margin-top: 5px;
    _padding-top: 10px;
    _padding-left: 25px;
    position: relative;
    display: block;
    _display: inline-block; /*ie6 only accepts 'inline-block'*/
}
.category-content ul li
{
    margin-left: -25px;
    display: inline;
    list-style: none;
    float: left;
    width: 115px;
}
.game-hot
{
    font-weight: bold;
}
.nbox
{
    margin-left: 10px;
    margin-top: -8px;
    _margin-top: 5px; /* for ie6 purpose */
}
.nbox h3
{
    background-image: url(images/h3title.gif);
    font-weight: bold;
    color: #56A5EE;
    font-size: small;
    height: 33px;
    padding: 5px 0px 0px 10px;
    border: 1px solid skyblue;
    border-bottom: none;
}
.nbox div
{
    margin-top: -21px;
    _margin-top: -27px; /* for ie6 purpose */
    padding-top: 5px;
    padding-left: 0px;
    border: 1px solid skyblue;
}
.nbox div p
{
    margin-left: 10px;
}
.nbox div ul
{
    _margin-left: 24px; /* for ie6 purpose */
}
.nbox div li
{
    padding: 2px;
}
.card-table
{
    width: 100%;
    border: 1px solid skyblue;
}
.card-table tr td
{
    border: 1px solid skyblue;
}
